#!/bin/sh
executeDir=$(cd "$(dirname "$0")";pwd)
cd ${executeDir}
go build
if [ ! -d "static1/" ]; then
    mkdir -p static
fi
mv ./awesome-devops static/
cd static
chmod -R 0777 ${executeDir}/static/awesome-devops
./awesome-devops $*